import { authRequest } from "@/request";

// 登录
export const postLogin = (body: any) => {
    return authRequest.post("/index/login", body);
};

// 获取个人信息
export const getUserInfo = () => {
    return authRequest.get("/index/info");
};

// 退出登录
export const postLogout = () => {
    return authRequest.post("/index/logout");
};
